package com.ctshk.rpc.season.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 套票-动态打包套票单项产品打包-机票表
 * </p>
 *
 * @author 杨林
 * @since 2021-03-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_season_dynamic_product_package_air")
@ApiModel(value="SeasonDynamicProductPackageAir对象", description="套票-动态打包套票单项产品打包-机票表")
public class SeasonDynamicProductPackageAir extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "打包id")
    private Long packageId;

    @ApiModelProperty(value = "单项订单id(打包下单成功后根据每个单项订单返回的id存储)")
    private Long orderId;

    @ApiModelProperty(value = "行程类型(depart：出发，return：回程)")
    private String tripType;

    @ApiModelProperty(value = "航空公司id")
    private Long companyId;

    @ApiModelProperty(value = "航空公司名称")
    private String companyName;

    @ApiModelProperty(value = "船舱等级(1 经济舱，2 高端经济舱，3 商务舱，4 头等舱)")
    private Integer cabinClass;

    @ApiModelProperty(value = "航班号")
    private String flightNumber;

    @ApiModelProperty(value = "起飞时间")
    private LocalDateTime depTime;

    @ApiModelProperty(value = "到达时间")
    private LocalDateTime arrTime;

    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "是否默认")
    private Integer isDefault;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
